#pragma once

#include <vgraph>
#include "EventArgs.h"

struct ScrollChangedEventArgs : public EventArgs 
{
public:
	ScrollChangedEventArgs(bool vertical,uint16 delta){this->vertical = vertical; this->delta = delta;whole = false;}
	ScrollChangedEventArgs(bool whole){this->whole = whole;}

	bool IsVerticalChanged() const {return vertical;}
	uint16 GetDelta() const {return delta;}
	bool IsWholeChanged() const {return whole;}

protected:
	bool vertical;
	uint16 delta;
	bool whole;
};